package algo;

public class AlgoTesteur {

	/**
	 * @param args
	 */
	
	public static double distance(double x1,double y1,double x2,double y2){
		double dist;
		dist =Math.sqrt(
			  Math.pow(x2-x1, 2)/Math.pow(y2-y1, 2)
		);
	

	return dist;
}
	public static void main(String[] args) {
		double x1=48.83142865005039 ;
		double x2= 2.241204653436161;
		double y1= 48.831483;
		double y2= 2.3556919999999764;
		
		double dist= distance(x1,x2,y1,y2);
		System.out.println("Distance= "+dist);
	}

}
